﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TAPremium
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TAPremium
    {
        public TAPremium()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _tapreid;
        private Int64 _tainsid;
        private Int64 _areaid;
        private Int32 _durationstart;
        private Int32 _durationend;
        private Int32 _subsequent;
        private float _price;

        public Int64 TAPreId
        {
            get { return _tapreid; }
            set { _tapreid = value; }
        }


        public Int64 TAInsId
        {
            get { return _tainsid; }
            set { _tainsid = value; }
        }

        public Int64 AreaId
        {
            get { return _areaid; }
            set { _areaid = value; }
        }

        public Int32 DurationStart
        {
            get { return _durationstart; }
            set { _durationstart = value; }
        }

        public Int32 DurationEnd
        {
            get { return _durationend; }
            set { _durationend = value; }
        }

        public Int32 Subsequent
        {
            get { return _subsequent; }
            set { _subsequent = value; }
        }

        public float Price
        {
            get { return _price; }
            set { _price = value; }
        }

        public void ClearFields()
        {
            _tapreid = 0;
            _tainsid = 0;
            _areaid = 0;
            _durationstart = 0;
            _durationend = 0;
            _subsequent = 0;
            _price = 0;
        }
    }
}
